﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudMusic.Model
{
    public class ArtistsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long picId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int img1v1Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string briefDesc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string img1v1Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int albumSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> alias { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trans { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int musicSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int topicPerson { get; set; }
    }

    public class Artist
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long picId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int img1v1Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string briefDesc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string img1v1Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int albumSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> alias { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trans { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int musicSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int topicPerson { get; set; }
    }

    public class songs { }

    public class Album
    {
        /// <summary>
        /// 老友记
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long picId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string blurPicUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int companyId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long pic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string publishTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tags { get; set; }
        /// <summary>
        /// 一样音乐
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string briefDesc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Artist artist { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public songs[] songs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> alias { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int copyrightId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string commentThreadId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ArtistsItem[] artists { get; set; }
        /// <summary>
        /// 录音室版
        /// </summary>
        public string subType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int mark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picId_str { get; set; }
    }

    public class H_M_LMusic
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string extension { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 sr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int dfsId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 bitrate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string playTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public float volumeDelta { get; set; }
    }

    public class alias { };

    public class rtUrls { };

    public class Song
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int position { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> alias { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int fee { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Int64 copyrightId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string disc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ArtistsItem[] artists { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Album album { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean starred { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public float popularity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int score { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int starredNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string duration { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int playedNum { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int dayPlays { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int hearTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ringtone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crbt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string audition { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string copyFrom { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string commentThreadId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rtUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ftype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public rtUrls[] rtUrls { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int copyright { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sign { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int mark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rurl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int mvid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public H_M_LMusic bMusic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mp3Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int rtype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public H_M_LMusic hMusic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public H_M_LMusic mMusic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public H_M_LMusic lMusic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean exclusive { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Privilege privilege { get; set; }
    }

    public class ResultItem
    {
        /// <summary>
        /// 
        /// </summary>
        public Int64 id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 老友记
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string copywriter { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean canDislike { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackNumberUpdateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Song song { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string alg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string count { get; set; }
        /// <summary>
        /// 是否高品质
        /// </summary>
        public string SQVis { get; set; }
        /// <summary>
        /// 是否有MV
        /// </summary>
        public string VideoVis { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nameAlias { get; set; }
    }

    public class Musics
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int category { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ResultItem[] result { get; set; }

    }
}
